package com.quanyan.pay.web.request;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import java.io.Serializable;

/**
 * 退款记录
 *
 * @author songzj
 * @date 16/6/15-10:36
 */
public class ReqRefundRecord implements Serializable {

    private static final long serialVersionUID = -5205621448084303721L;

    private String batchRefundNo;

    private String orderNo;

    private String outTradeRefundNo;

    private String refundOrderNo;

    private String refundNotifyURL;

    private String reason;

    public String getBatchRefundNo() {
        return batchRefundNo;
    }

    public void setBatchRefundNo(String batchRefundNo) {
        this.batchRefundNo = batchRefundNo;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getOutTradeRefundNo() {
        return outTradeRefundNo;
    }

    public void setOutTradeRefundNo(String outTradeRefundNo) {
        this.outTradeRefundNo = outTradeRefundNo;
    }

    public String getRefundOrderNo() {
        return refundOrderNo;
    }

    public void setRefundOrderNo(String refundOrderNo) {
        this.refundOrderNo = refundOrderNo;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getRefundNotifyURL() {
        return refundNotifyURL;
    }

    public void setRefundNotifyURL(String refundNotifyURL) {
        this.refundNotifyURL = refundNotifyURL;
    }

    @Override
    public String toString() {
        Gson gson = new GsonBuilder().setPrettyPrinting().create();
        return gson.toJson(this);
    }
}
